The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition by Donald E. Knuth
Author:Donald E. Knuth [Knuth, Donald E.]
Language: eng
Format: epub, pdf
Publisher: Addison-Wesley Professional
Published: 1998-11-05T23:00:00+00:00
Fig. 5. A comparison tree that corresponds to binary search when N = 16.
When N is 16, the first comparison made by the algorithm is K : K8; this is represented by the root node in the figure. Then if K < K8, the algorithm follows the left subtree, comparing K to K4; similarly if K > K8, the right subtree is used. An unsuccessful search will lead to one of the external square nodes numbered through ; for example, we reach node if and only if K6 < K < K7.
The binary tree corresponding to a binary search on N records can be constructed as follows: If N = 0, the tree is simply . Otherwise the root node is
Download
The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition by Donald E. Knuth.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(11915)
Hello! Python by Anthony Briggs(9379)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9350)
The Mikado Method by Ola Ellnestam Daniel Brolund(9318)
Dependency Injection in .NET by Mark Seemann(8864)
Hit Refresh by Satya Nadella(8343)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7858)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7410)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7337)
Grails in Action by Glen Smith Peter Ledbrook(7303)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7123)
The Complete Stick Figure Physics Tutorials by Allen Sarah(6644)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6252)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5965)
Hadoop in Practice by Alex Holmes(5662)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5516)
Learning SQL by Alan Beaulieu(5419)
Weapons of Math Destruction by Cathy O'Neil(5045)
Permanent Record by Edward Snowden(5004)